package com.mall.client.eshop;

import java.util.List;

import com.mall.pojo.Eshop;
import com.mall.pojo.EshopExample;

public interface EshopService {
	/**
	 * 根据id查找eshop
	 * @param id
	 * @return
	 */
	public Eshop getEshopByEshopId(Long id);
	
	/**
	 * 根据条件查找eshop集合
	 * @param eshopExample
	 * @return
	 */
	public List<Eshop> getEshopListByEshopExample(EshopExample eshopExample);
	
	/**
	 * 插入eshop
	 * @param eshop
	 * @return
	 */
	public int insertEshopByEshop(Eshop eshop);
	
	/**
	 * 修改eshop
	 * @param eshop
	 * @return
	 */
	public int modifyEshopByEshop(Eshop eshop,Eshop existEshop);
	
	/**
	 * 删除eshop
	 * @param id
	 * @return
	 */
	public int deleteEshopByEshopId(Long id);
}
